package cn.itsource.product.service;

import cn.itsource.basic.domain.AjaxResult;
import cn.itsource.basic.util.PageList;
import cn.itsource.pet.domain.SearchMasterMessageQuery;
import cn.itsource.pet.domain.StateIdsDto;
import cn.itsource.product.domain.Product;
import cn.itsource.product.domain.ProductDto;
import cn.itsource.product.domain.TProductDetail;

import java.util.List;

public interface ProductService {
    PageList pagelist(SearchMasterMessageQuery query);

    AjaxResult save(ProductDto productDto);

    AjaxResult upbutton(StateIdsDto stateIdsDto);

    AjaxResult deleteBatch(List<Long> ids);

    AjaxResult delete(Product product);

    TProductDetail findById(Long id);

    AjaxResult EEsave(ProductDto productDto);

    PageList findAll(SearchMasterMessageQuery query);

    Product proFindOne(Long id);
}
